﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Restore.ascx.cs" Inherits="SalesManagement.Controls.List.Restore" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<ext:Window ID="winDetails" runat="server" Title="Phục hồi dữ liệu"
    Width="500" Height="250" Modal="true" Hidden="true" Layout="FormLayout" Padding="5">
    <Items>
        <ext:FormPanel ID="FormPanel1" runat="server" BodyBorder="false" MonitorPoll="500"
            MonitorValid="true" Padding="5" Width="600" Height="250" ButtonAlign="Right">
            <Items>
                <ext:FileUploadField ID="FileUploadField1" runat="server" EmptyText="Select file..."
                    FieldLabel="File" ButtonText="" />
                <ext:FileUploadField ID="FileUploadField2" runat="server" EmptyText="Select file..."
                    FieldLabel="File" ButtonText="" Note="Ví dụ: *.bak, *.mdf" />
                <ext:DisplayField ID="DisplayField2" runat="server" Text="Ghi chú: Hãy dự phòng dữ liệu trước khi phục hồi.<br/> (Phục hồi dữ liệu sẽ bị mất dữ liệu hiện tại." />
            </Items>
        </ext:FormPanel>
    </Items>
    <Buttons>
        <ext:Button ID="btnSave" runat="server" Text="Lưu" Icon="Disk">
            <DirectEvents>
                <Click OnEvent="btnSave_Click" />
            </DirectEvents>
        </ext:Button>
        <ext:Button ID="btnCancel" runat="server" Text="Thoát" Icon="Cancel">
            <Listeners>
                <Click Handler="#{winDetails}.hide();" />
            </Listeners>
        </ext:Button>
    </Buttons>
</ext:Window>
